package encheres;

import java.util.HashMap;

import util.XML;

public class MakeConfig {

	public static HashMap configurer() {
		
		HashMap config = new HashMap();
		
		config.put("ip", "134.59.28.105");
		//config.put("ip", "localhost");
		config.put("port", 3600);
		
		return config;
	}
	
	public static void main(String[] args) {
		
		HashMap config = configurer();
		XML.store(config, "Config/ConfigCommissaire");
		XML.load("Config/ConfigCommissaire");
	}
}
